package com.ujoin.bean;

import java.sql.Timestamp;

/**
 * User entity. @author MyEclipse Persistence Tools
 */

public class User implements java.io.Serializable {

	// Fields

	private Integer userId;
	private String email;
	private String password;
	private String weibo;
	private Integer qq;
	private Integer telephone;
	private Timestamp registerTime;
	private Timestamp lastLoginTime;
	private Integer unreadActivityMessageNum;
	private Integer unreadSystemMessageNum;
	private Boolean isPublicPerson;
	private String tag;

	// Constructors

	/** default constructor */
	public User() {
	}

	/** minimal constructor */
	public User(String email, String password, Timestamp registerTime,
			Timestamp lastLoginTime, Integer unreadActivityMessageNum,
			Integer unreadSystemMessageNum, Boolean isPublicPerson) {
		this.email = email;
		this.password = password;
		this.registerTime = registerTime;
		this.lastLoginTime = lastLoginTime;
		this.unreadActivityMessageNum = unreadActivityMessageNum;
		this.unreadSystemMessageNum = unreadSystemMessageNum;
		this.isPublicPerson = isPublicPerson;
	}

	/** full constructor */
	public User(String email, String password, String weibo, Integer qq,
			Integer telephone, Timestamp registerTime, Timestamp lastLoginTime,
			Integer unreadActivityMessageNum, Integer unreadSystemMessageNum,
			Boolean isPublicPerson, String tag) {
		this.email = email;
		this.password = password;
		this.weibo = weibo;
		this.qq = qq;
		this.telephone = telephone;
		this.registerTime = registerTime;
		this.lastLoginTime = lastLoginTime;
		this.unreadActivityMessageNum = unreadActivityMessageNum;
		this.unreadSystemMessageNum = unreadSystemMessageNum;
		this.isPublicPerson = isPublicPerson;
		this.tag = tag;
	}

	// Property accessors

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getWeibo() {
		return this.weibo;
	}

	public void setWeibo(String weibo) {
		this.weibo = weibo;
	}

	public Integer getQq() {
		return this.qq;
	}

	public void setQq(Integer qq) {
		this.qq = qq;
	}

	public Integer getTelephone() {
		return this.telephone;
	}

	public void setTelephone(Integer telephone) {
		this.telephone = telephone;
	}

	public Timestamp getRegisterTime() {
		return this.registerTime;
	}

	public void setRegisterTime(Timestamp registerTime) {
		this.registerTime = registerTime;
	}

	public Timestamp getLastLoginTime() {
		return this.lastLoginTime;
	}

	public void setLastLoginTime(Timestamp lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}

	public Integer getUnreadActivityMessageNum() {
		return this.unreadActivityMessageNum;
	}

	public void setUnreadActivityMessageNum(Integer unreadActivityMessageNum) {
		this.unreadActivityMessageNum = unreadActivityMessageNum;
	}

	public Integer getUnreadSystemMessageNum() {
		return this.unreadSystemMessageNum;
	}

	public void setUnreadSystemMessageNum(Integer unreadSystemMessageNum) {
		this.unreadSystemMessageNum = unreadSystemMessageNum;
	}

	public Boolean getIsPublicPerson() {
		return this.isPublicPerson;
	}

	public void setIsPublicPerson(Boolean isPublicPerson) {
		this.isPublicPerson = isPublicPerson;
	}

	public String getTag() {
		return this.tag;
	}

	public void setTag(String tag) {
		this.tag = tag;
	}

}